If the function or program has unstored changes, you are prompted to check syntax and store before closing.